package creator.factory.wujiangfamily;

import creator.abstractfactory.family.wujiang.Camp;
import creator.abstractfactory.family.wujiang.Numerical;
import creator.factory.wujiang.Wujiang;

public class ShuGuoWujiang extends Wujiang {
    @Override
    public Camp GenerateCamp(String campAttribute) {
        Camp newCamp = new Camp("蜀国", campAttribute);
        this.camp = newCamp;
        return newCamp;
    }


    @Override
    public Numerical GenerateNumerical(String name, String age, String aggressivity, String defensivePower, String healthValue, String specialValue) {
        Numerical newNumerical = new Numerical(name, age, aggressivity, defensivePower, healthValue, specialValue);
        this.numerical = newNumerical;
        return newNumerical;
    }
}
